package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.result.Result;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;

public interface ShoppingCarService {

    /**
     * 添加购物车
     * @param dto
     * @return
     */
    public Result addShoppingCart( ShoppingCartDTO dto);

    /**
     * 查看购物车
     * @return
     */
    public Result queryShoppingCart();

    /**
     * 清空购物车
     * @return
     */
    public Result cleanShoppingCart();
}
